package com.ruoyi.mapper;

import java.util.List;

import com.ruoyi.domain.SysPost;

public interface SysPostMapper {

	List<SysPost> selectPostList(SysPost post);

	SysPost checkPostNameUnique(String postName);

	SysPost checkPostCodeUnique(String postCode);
	
	int insertPost(SysPost post);

	int updatePost(SysPost post);

	SysPost selectPostById(Long postId);

	int deletePostById(Long postId);

	List<SysPost> selectPostAll();

	List<Long> selectPostListByUserId(Long userId);
	
	
}
